row = 1
while row < 10:
    
    col = 1
    while col <= row:
        print("{} * {} = {}".format(col, row, col * row), end= "  ")
        col += 1
    print()
    row += 1